﻿namespace OP30.Models
{
    public class CylinderModel : BindableBase
    {
        public CylinderModel(string name, int status, bool boriginSensor, bool bworkSensor)
        {
            Name = name;
            QG_Status = status;
            bOriginSensor = boriginSensor;
            bWorkSensor = bworkSensor;
        }


        private string _Name;
        public string Name
        {
            get { return _Name; }
            set { SetProperty(ref _Name, value); }
        }

        private int _QG_Status;
        public int QG_Status
        {
            get { return _QG_Status; }
            set { SetProperty(ref _QG_Status, value); }
        }
        /// <summary>
        /// 原点传感器
        /// </summary>
        private bool _bOriginSensor;
        public bool bOriginSensor
        {
            get { return _bOriginSensor; }
            set { SetProperty(ref _bOriginSensor, value); }
        }
        /// <summary>
        /// 动点传感器
        /// </summary>
        private bool _bWorkSensor;
        public bool bWorkSensor
        {
            get { return _bWorkSensor; }
            set { SetProperty(ref _bWorkSensor, value); }
        }
    }



    public class CylinderDelayModel : BindableBase
    {
        private int _DelayTime01;
        public int DelayTime01
        {
            get { return _DelayTime01; }
            set { SetProperty(ref _DelayTime01, value); }
        }

        private int _DelayTime02;
        public int DelayTime02
        {
            get { return _DelayTime02; }
            set { SetProperty(ref _DelayTime02, value); }
        }

        private int _DelayTime03;
        public int DelayTime03
        {
            get { return _DelayTime03; }
            set { SetProperty(ref _DelayTime03, value); }
        }

        private int _DelayTime04;
        public int DelayTime04
        {
            get { return _DelayTime04; }
            set { SetProperty(ref _DelayTime04, value); }
        }

        private int _DelayTime05;
        public int DelayTime05
        {
            get { return _DelayTime05; }
            set { SetProperty(ref _DelayTime05, value); }
        }

        private int _DelayTime06;
        public int DelayTime06
        {
            get { return _DelayTime06; }
            set { SetProperty(ref _DelayTime06, value); }
        }

        private int _DelayTime07;
        public int DelayTime07
        {
            get { return _DelayTime07; }
            set { SetProperty(ref _DelayTime07, value); }
        }

        private int _DelayTime08;
        public int DelayTime08
        {
            get { return _DelayTime08; }
            set { SetProperty(ref _DelayTime08, value); }
        }

        private int _DelayTime09;
        public int DelayTime09
        {
            get { return _DelayTime09; }
            set { SetProperty(ref _DelayTime09, value); }
        }

        private int _DelayTime10;
        public int DelayTime10
        {
            get { return _DelayTime10; }
            set { SetProperty(ref _DelayTime10, value); }
        }

        private int _DelayTime11;
        public int DelayTime11
        {
            get { return _DelayTime11; }
            set { SetProperty(ref _DelayTime11, value); }
        }

        private int _DelayTime12;
        public int DelayTime12
        {
            get { return _DelayTime12; }
            set { SetProperty(ref _DelayTime12, value); }
        }

        private int _DelayTime13;
        public int DelayTime13
        {
            get { return _DelayTime13; }
            set { SetProperty(ref _DelayTime13, value); }
        }

        private int _DelayTime14;
        public int DelayTime14
        {
            get { return _DelayTime14; }
            set { SetProperty(ref _DelayTime14, value); }
        }

        private int _DelayTime15;
        public int DelayTime15
        {
            get { return _DelayTime15; }
            set { SetProperty(ref _DelayTime15, value); }
        }
        private int _DelayTime16;
        public int DelayTime16
        {
            get { return _DelayTime16; }
            set { SetProperty(ref _DelayTime16, value); }
        }
        private int _DelayTime17;
        public int DelayTime17
        {
            get { return _DelayTime17; }
            set { SetProperty(ref _DelayTime17, value); }
        }


        private int _DelayTime18;
        public int DelayTime18
        {
            get { return _DelayTime18; }
            set { SetProperty(ref _DelayTime18, value); }
        }

        private int _DelayTime19;
        public int DelayTime19
        {
            get { return _DelayTime19; }
            set
            {
                SetProperty(ref _DelayTime19, value);
            }
        }


        private int _DelayTime20;
        public int DelayTime20
        {
            get { return _DelayTime20; }
            set { SetProperty(ref _DelayTime20, value); }
        }

        private int _DelayTime21;
        public int DelayTime21
        {
            get { return _DelayTime21; }
            set { SetProperty(ref _DelayTime21, value); }
        }

        private int _DelayTime22;
        public int DelayTime22
        {
            get { return _DelayTime22; }
            set { SetProperty(ref _DelayTime22, value); }
        }

        private int _DelayTime23;
        public int DelayTime23
        {
            get { return _DelayTime23; }
            set { SetProperty(ref _DelayTime23, value); }
        }

        private int _DelayTime24;
        public int DelayTime24
        {
            get { return _DelayTime24; }
            set { SetProperty(ref _DelayTime24, value); }
        }

        private int _DelayTime25;
        public int DelayTime25
        {
            get { return _DelayTime25; }
            set { SetProperty(ref _DelayTime25, value); }
        }

        private int _DelayTime26;
        public int DelayTime26
        {
            get { return _DelayTime26; }
            set { SetProperty(ref _DelayTime26, value); }
        }


        private int _DelayTime27;
        public int DelayTime27
        {
            get { return _DelayTime27; }
            set { SetProperty(ref _DelayTime27, value); }
        }
    }


    /// <summary>
    /// 气缸感应器保持 IsCheck
    /// </summary>
    public class CylinderSensorCheckModel : BindableBase
    {
        private bool _IsQGOriginCheck01;
        public bool IsQGOriginCheck01
        {
            get { return _IsQGOriginCheck01; }
            set { SetProperty(ref _IsQGOriginCheck01, value); }
        }


        private bool _IsQGOriginCheck02;
        public bool IsQGOriginCheck02
        {
            get { return _IsQGOriginCheck02; }
            set { SetProperty(ref _IsQGOriginCheck02, value); }
        }

        private bool _IsQGOriginCheck03;
        public bool IsQGOriginCheck03
        {
            get { return _IsQGOriginCheck03; }
            set { SetProperty(ref _IsQGOriginCheck03, value); }
        }

        private bool _IsQGOriginCheck04;
        public bool IsQGOriginCheck04
        {
            get { return _IsQGOriginCheck04; }
            set { SetProperty(ref _IsQGOriginCheck04, value); }
        }

        private bool _IsQGOriginCheck05;
        public bool IsQGOriginCheck05
        {
            get { return _IsQGOriginCheck05; }
            set { SetProperty(ref _IsQGOriginCheck05, value); }
        }

        private bool _IsQGOriginCheck06;
        public bool IsQGOriginCheck06
        {
            get { return _IsQGOriginCheck06; }
            set { SetProperty(ref _IsQGOriginCheck06, value); }
        }

        private bool _IsQGOriginCheck07;
        public bool IsQGOriginCheck07
        {
            get { return _IsQGOriginCheck07; }
            set { SetProperty(ref _IsQGOriginCheck07, value); }
        }

        private bool _IsQGOriginCheck08;
        public bool IsQGOriginCheck08
        {
            get { return _IsQGOriginCheck08; }
            set { SetProperty(ref _IsQGOriginCheck08, value); }
        }

        private bool _IsQGOriginCheck09;
        public bool IsQGOriginCheck09
        {
            get { return _IsQGOriginCheck09; }
            set { SetProperty(ref _IsQGOriginCheck09, value); }
        }

        private bool _IsQGOriginCheck10;
        public bool IsQGOriginCheck10
        {
            get { return _IsQGOriginCheck10; }
            set { SetProperty(ref _IsQGOriginCheck10, value); }
        }

        private bool _IsQGOriginCheck11;
        public bool IsQGOriginCheck11
        {
            get { return _IsQGOriginCheck11; }
            set { SetProperty(ref _IsQGOriginCheck11, value); }
        }

        private bool _IsQGOriginCheck12;
        public bool IsQGOriginCheck12
        {
            get { return _IsQGOriginCheck12; }
            set { SetProperty(ref _IsQGOriginCheck12, value); }
        }



        private bool _IsQGWorkCheck01;
        public bool IsQGWorkCheck01
        {
            get { return _IsQGWorkCheck01; }
            set { SetProperty(ref _IsQGWorkCheck01, value); }
        }


        private bool _IsQGWorkCheck02;
        public bool IsQGWorkCheck02
        {
            get { return _IsQGWorkCheck02; }
            set { SetProperty(ref _IsQGWorkCheck02, value); }
        }

        private bool _IsQGWorkCheck03;
        public bool IsQGWorkCheck03
        {
            get { return _IsQGWorkCheck03; }
            set { SetProperty(ref _IsQGWorkCheck03, value); }
        }

        private bool _IsQGWorkCheck04;
        public bool IsQGWorkCheck04
        {
            get { return _IsQGWorkCheck04; }
            set { SetProperty(ref _IsQGWorkCheck04, value); }
        }

        private bool _IsQGWorkCheck05;
        public bool IsQGWorkCheck05
        {
            get { return _IsQGWorkCheck05; }
            set { SetProperty(ref _IsQGWorkCheck05, value); }
        }

        private bool _IsQGWorkCheck06;
        public bool IsQGWorkCheck06
        {
            get { return _IsQGWorkCheck06; }
            set { SetProperty(ref _IsQGWorkCheck06, value); }
        }

        private bool _IsQGWorkCheck07;
        public bool IsQGWorkCheck07
        {
            get { return _IsQGWorkCheck07; }
            set { SetProperty(ref _IsQGWorkCheck07, value); }
        }

        private bool _IsQGWorkCheck08;
        public bool IsQGWorkCheck08
        {
            get { return _IsQGWorkCheck08; }
            set { SetProperty(ref _IsQGWorkCheck08, value); }
        }

        private bool _IsQGWorkCheck09;
        public bool IsQGWorkCheck09
        {
            get { return _IsQGWorkCheck09; }
            set { SetProperty(ref _IsQGWorkCheck09, value); }
        }

        private bool _IsQGWorkCheck10;
        public bool IsQGWorkCheck10
        {
            get { return _IsQGWorkCheck10; }
            set { SetProperty(ref _IsQGWorkCheck10, value); }
        }

        private bool _IsQGWorkCheck11;
        public bool IsQGWorkCheck11
        {
            get { return _IsQGWorkCheck11; }
            set { SetProperty(ref _IsQGWorkCheck11, value); }
        }

        private bool _IsQGWorkCheck12;
        public bool IsQGWorkCheck12
        {
            get { return _IsQGWorkCheck12; }
            set { SetProperty(ref _IsQGWorkCheck12, value); }
        }
    }
}
